﻿<?xml version="1.0"?>
<xs:schema xmlns:tns="http://qtfile.codeplex.com/" elementFormDefault="qualified" targetNamespace="http://qtfile.codeplex.com/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
	<xs:element name="qtfile" type="tns:QtFile.Configuration.QtFileConfigCT" />
	<xs:complexType name="QtFile.Configuration.QtFileConfigCT">
		<xs:sequence>
			<xs:element minOccurs="1" name="defautAllowedExtensions" type="tns:QtFile.Configuration.ExtensionsConfigCT">
				<xs:annotation>
					<xs:documentation>The DefautAllowedExtensions.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="userSettings" type="tns:QtFile.Configuration.UserSettingsConfigCT">
				<xs:annotation>
					<xs:documentation>The UserSettings.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="defaultQuota" use="required" type="xs:long">
			<xs:annotation>
				<xs:documentation>The DefaultQuota.</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="defaultMaxSizePerFile" use="required" type="xs:long">
			<xs:annotation>
				<xs:documentation>The DefaultMaxSizePerFile.</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="defaultMaxFolders" use="required" type="xs:int">
			<xs:annotation>
				<xs:documentation>The DefaultMaxFolders.</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="defaultMaxFiles" use="required" type="xs:int">
			<xs:annotation>
				<xs:documentation>The DefaultMaxFiles.</xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="QtFile.Configuration.UserSettingConfigCT">
		<xs:sequence>
			<xs:element minOccurs="0" name="allowedExtensions" type="tns:QtFile.Configuration.ExtensionsConfigCT">
				<xs:annotation>
					<xs:documentation>The AllowedExtensions.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="username" use="required" type="xs:string">
			<xs:annotation>
				<xs:documentation>The Username.</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="quota" use="optional" type="xs:long">
			<xs:annotation>
				<xs:documentation>The Quota.</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="maxSizePerFile" use="optional" type="xs:long">
			<xs:annotation>
				<xs:documentation>The MaxSizePerFile.</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="maxFolders" use="optional" type="xs:int">
			<xs:annotation>
				<xs:documentation>The MaxFolders.</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="maxFiles" use="optional" type="xs:int">
			<xs:annotation>
				<xs:documentation>The MaxFiles.</xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="QtFile.Configuration.UserSettingsConfigCT">
		<xs:sequence>
			<xs:element minOccurs="0" maxOccurs="unbounded" name="userSetting" type="tns:QtFile.Configuration.UserSettingConfigCT">
				<xs:annotation>
					<xs:documentation>The UserSettingConfig Configuration Element.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="QtFile.Configuration.ExtensionsConfigCT">
		<xs:sequence>
			<xs:element minOccurs="0" maxOccurs="unbounded" name="extension" type="tns:QtFile.Configuration.ExtensionConfigCT">
				<xs:annotation>
					<xs:documentation>The ExtensionConfig Configuration Element.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="QtFile.Configuration.ExtensionConfigCT">
		<xs:sequence>
		</xs:sequence>
		<xs:attribute name="extension" use="required" type="xs:string">
			<xs:annotation>
				<xs:documentation>The Extension.</xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
</xs:schema>

